﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DatabaseCore
{
    public interface IOrderDao
    {
        IList<tbl_Order> Search(string orderNo, int orderStatus = 0, string invoiceNo = null, string portOfShipment = null, string portOfDestination = null, string poNo = null, string location = null, int role = -1);
        tbl_Order GetByKey(string orderNo);

        bool Insert(tbl_Order entity);
        bool Update(tbl_Order entity);
    }
}
